import request from "@/request/index.js"
export function getCard(code){
	let url = '/api/card/info'
	let params = {code}
	return request.get(url,{params})
}

export function useCard(code){
	let url = '/api/card/use'
	let data = {code}
	data.Loading = true 
	return request.post(url,data)
}